
/* Any Bug U Find In This Code Contact Author
*
*
* This Main cpp File Contains main
*
*
*
*  Author : Vishwajeet C. Dusane(dusanevishwajeet@yahoo.co.in)
*/


#include"Compress.h"
//#include"Decopress.h"


//============================================================================
//Program Starts From Here : Entry Point
int main(int argc,char *argv[])
{
  char fnmW[15];



  switch(argc)
  {
   case 1 :
	  printf("\nInsufficient Arguments ");
	  break;

   case 4:

	  if(strcmp(argv[2],"-n")==0)
	  {
			 sscanf(argv[3],"%[^.]s",fnmW);
			 strcat(fnmW,".neo");
		 compress(argv[1],fnmW);
		 break;
	  }
   default :
	  printf("\nInvalid Command\n");
	  break;
  }
  return 0;
}

